﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IRecipeConfigOperate
    {
        //查询所有
        public List<RecipeConfig> GetAllRecipeConfigList();
        public RecipeConfig GetRecipeConfigById(string id);
        public List<RecipeConfig> GetRecipeConfigsByTypeId(string typeId);
        public List<RecipeConfig> GetRecipeConfigByIdList(List<string> ids);
        public void AddRecipeConfig(RecipeConfig entity);
        public void UpdateRecipeConfig(RecipeConfig model);
        public void DeleteRecipeConfig(RecipeConfig entity);
        public void BatchDelRecipeConfig(List<RecipeConfig> entity);
    }
}
